﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>

    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script>
    <!--<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0-vsdoc.js"></script>-->
    <script type="text/javascript" src="js/jquery.aming.api.js"></script>
</head>
<body>
    <script type="text/javascript">
        $(document).ready(function () {
            $.aming.api.list(function (data) {
                console.log({
                    title: "list",
                    data: data
                });
            })
            $.aming.api.get("key.test.jqex.add", function (data) {
                console.log({
                    title: "get",
                    data: data
                });
            })
            $.aming.api.exist("key.test.jqex.add", function (data) {
                console.log({
                    title: "exist",
                    data: data
                });
            })
            $.aming.api.value("key.test.jqex.add", function (data) {
                console.log({
                    title: "value",
                    data: data
                });
            })
            //$.aming.api.add("key.test.jqex.add", "jqex.add", function (data) {
            //    console.log({
            //        title: "add",
            //        data: data
            //    });
            //})
            //$.aming.api.update("key.test.jqex.add", "jqex.update", function (data) {
            //    console.log({
            //        title: "update",
            //        data: data
            //    });
            //})
            //$.aming.api.delete("key.test.jqex.add", function (data) {
            //    console.log({
            //        title: "delete",
            //        data: data
            //    });
            //})
            //$.aming.api.addorupdate("key.test.jqex.addsdfsdfsdf012", "jqex.ad2dasdasdasdads2", function (data) {
            //    console.log({
            //        title: "addorupdate",
            //        data: data
            //    });
            //})
        });
    </script>
</body>
</html>
